package com.hmkj.core.po.operate;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 代理商参数表实体信息<br>
 *
 * @author bin
 * @date   2017-11-07 03:57:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "代理商参数表")
@Table(name = "biz_agent_config")
public class AgentConfig extends GenericPo<Integer> {

    public static final String TABLE_NAME = "biz_agent_config";

	
	/**代理商ID**/
	@ApiModelProperty(value = "代理商ID")
	private Integer agentId;
	/**参数描述**/
	@ApiModelProperty(value = "参数描述")
	private String name;
	/**参数标识**/
	@ApiModelProperty(value = "参数标识")
	private String nid;
	/**参数值**/
	@ApiModelProperty(value = "参数值")
	private String value;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public AgentConfig(){}

    public AgentConfig(Consumer<AgentConfig> consumer){
    consumer.accept(this);
    }
}

